package com.dudu.bean;

import org.apache.commons.lang.StringUtils;

public class IMSBilBean {

	private int id = 0;
	private String session_id = null;
	private String beginTime = null;
	private String endTime = null;
	private int time = 0;
	private double fee = 0f;
	private String caller = null;
	private String callee = null;
	private String ChargeNumber = null;
	private String DisplayNbr = null;
	private String BillSubtype = "";
	
	// 新添加的属性
	private int fen = 0;// 分钟
	private String ability_type = "";
	private String meet_AccessPhone = "";
	private String meet_CreatedTime = "";
	private String meet_ColsedTime = "";
	private String meet_OrganizationId = "";
	
	//点击拨号中，被叫是否接听判断
	private String starttimeCalled="";
	
	public String getStarttimeCalled() {
		return starttimeCalled;
	}
	public void setStarttimeCalled(String starttimeCalled) {
		this.starttimeCalled = starttimeCalled;
	}
	public String getBillSubtype() {
		return BillSubtype;
	}
	public void setBillSubtype(String billSubtype) {
		BillSubtype = billSubtype;
	}
	public int getId() {
		return id;
	}
	public String getEndTime() {
		return endTime;
	}
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	public String getCaller() {
		return caller;
	}
	public void setCaller(String caller) {
		this.caller = caller;
	}
	public String getCallee() {
		return callee;
	}
	public void setCallee(String callee) {
		this.callee = callee;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getSession_id() {
		return session_id;
	}
	public void setSession_id(String session_id) {
		this.session_id = session_id;
	}
	public String getBeginTime() {
		return beginTime;
	}
	public void setBeginTime(String beginTime) {
		this.beginTime = beginTime;
	}
	
	public int getTime() {
		return time;
	}
	public void setTime(int time) {
		this.time = time;
	}
	public double getFee() {
		return fee;
	}
	public void setFee(double fee) {
		this.fee = fee;
	}
	

	public String getChargeNumber() {
		return ChargeNumber;
	}
	public void setChargeNumber(String chargeNumber) {
		ChargeNumber = chargeNumber;
	}
	public String getDisplayNbr() {
		return DisplayNbr;
	}
	public void setDisplayNbr(String displayNbr) {
		DisplayNbr = displayNbr;
	}
	
	public int getFen() {
		return fen;
	}
	public void setFen(int fen) {
		this.fen = fen;
	}
	public String getMeet_AccessPhone() {
		return meet_AccessPhone;
	}
	public void setMeet_AccessPhone(String meet_AccessPhone) {
		this.meet_AccessPhone = meet_AccessPhone;
	}
	public String getMeet_CreatedTime() {
		return meet_CreatedTime;
	}
	public void setMeet_CreatedTime(String meet_CreatedTime) {
		this.meet_CreatedTime = meet_CreatedTime;
	}
	public String getMeet_ColsedTime() {
		return meet_ColsedTime;
	}
	public void setMeet_ColsedTime(String meet_ColsedTime) {
		this.meet_ColsedTime = meet_ColsedTime;
	}
	public String getMeet_OrganizationId() {
		return meet_OrganizationId;
	}
	public void setMeet_OrganizationId(String meet_OrganizationId) {
		this.meet_OrganizationId = meet_OrganizationId;
	}
	public String getAbility_type() {
		return ability_type;
	}
	public void setAbility_type(String ability_type) {
		this.ability_type = ability_type;
	}
	@Override
	public String toString() {
		return "IMSBilBean [id=" + id + ", session_id=" + session_id + ", beginTime=" + beginTime + ", EndTime=" + endTime + ", time=" + time + ", fee=" + fee + ", Caller=" + caller + ", Callee=" + callee + ", ChargeNumber=" + ChargeNumber + ", DisplayNbr=" + DisplayNbr + "]";
	}

	public boolean isNull(){
		
		if(StringUtils.isBlank(session_id)){
			return true;
		}else{
			return false;
		}
		
	}
		
	
}
